﻿#This file loads all the resources that are loaded with the content manager.
#[Auto Loaded]
#Created: 12/11 - 2011
#By: Adam Lewenhaupt

def loadtexsfd(str):
    files = nt.listdir(str)
    print "Loading files:"
    for file in files:
        print file
        Textures[file.Split('.')[0]] = ltex(str + file)
    print "From Directory: %s" % str

TexturePath = System.IO.Directory.GetCurrentDirectory().Replace(r'bin\x86\Debug','') + r'\Interface\Textures\\'

Fonts['topMenuButton'] = Engine.Game.Content.Load[mxfg.SpriteFont]('topMenuButtonFont')

loadtexsfd(TexturePath)